Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductHelper A

Total Complexity 55
Dependencies 11
Dependents 14
Total lines 362
Lines of code 167
Logical lines of code 102
Comment lines 143
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
mark_as_invalid()
S
52 7 24
mark_as_synced()
S
53 6 20
remove_google_id()
S
58 4 16
get_validation_errors()
S
65 5 8
is_sync_ready()
S
62 5 10
mark_as_unsynced()
S
61 3 12
mark_as_pending()
S
66 3 8
update_empty_visibility()
S
68 3 7
maybe_swap_for_parent_id()
S
66 3 9
get_mc_status()
S
71 2 6
get_visibility()
S
69 2 7
is_sync_failed_recently()
S
69 2 6
get_wc_product_title()
S
67 2 8
is_product_synced()
S
72 2 5
get_wc_product_id()
S
67 2 7
get_wc_product()
S
80 1 3
get_sync_status()
S
80 1 3
get_synced_google_product_ids()
S
80 1 3
__construct()
S
74 1 5